package com.zzzy.framework.service.common;

import com.zzzy.framework.common.dict.DictInitInterface;
import com.zzzy.framework.common.enums.DictInterface;
import com.zzzy.framework.common.enums.common.NotifyMessageStatusEnum;
import com.zzzy.framework.common.enums.common.TemplateStatusEnum;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * Description: 初始化相关字典
 *
 * @author fc
 * @date 2024/6/19
 */

@Service
public class DictInitService implements DictInitInterface {

    @Override
    public List<Class<? extends DictInterface>> getDictEnumClasssList(){
        List<Class<? extends DictInterface>> dictEnumClassList = new ArrayList<>();
        dictEnumClassList.add(TemplateStatusEnum.class);
        dictEnumClassList.add(NotifyMessageStatusEnum.class);
        return dictEnumClassList;
    }

}
